package com.entrogy.bean;

import java.io.Serializable;

public class PubCountEntity implements Serializable {
	private int id;
	private String unionid;
	private String openid;
	private String username;
	private String accessToken;//formbean
	private String templateId;//formbean
	public PubCountEntity() {
	}

	public PubCountEntity(String openid, String accessToken) {
		this.openid = openid;
		this.accessToken = accessToken;
	}

	public PubCountEntity(int id, String unionid, String openid, String username, String accessToken, String templateId) {
		this.id = id;
		this.unionid = unionid;
		this.openid = openid;
		this.username = username;
		this.accessToken = accessToken;
		this.templateId = templateId;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUnionid() {
		return unionid;
	}
	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getTemplateId() {
		return templateId;
	}

	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}
}
